package com.lucweb.entity;

import javax.persistence.*;

@Entity
@Table(name = "task_whyjtz", schema = "firesystem", catalog = "")
public class TaskWhyjtz {
    private String id;
    private String tzName;
    private String tzModel;
    private String tzCj;
    private String tzCount;
    private String tzType;
    private String tzLastTime;
    private String companyName;
    private String ischecked;
    private String tzContext;
    private String isFinish;
    private String tzdtName;

    @Id
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "tzName")
    public String getTzName() {
        return tzName;
    }

    public void setTzName(String tzName) {
        this.tzName = tzName;
    }

    @Basic
    @Column(name = "tzModel")
    public String getTzModel() {
        return tzModel;
    }

    public void setTzModel(String tzModel) {
        this.tzModel = tzModel;
    }

    @Basic
    @Column(name = "tzCj")
    public String getTzCj() {
        return tzCj;
    }

    public void setTzCj(String tzCj) {
        this.tzCj = tzCj;
    }

    @Basic
    @Column(name = "tzCount")
    public String getTzCount() {
        return tzCount;
    }

    public void setTzCount(String tzCount) {
        this.tzCount = tzCount;
    }

    @Basic
    @Column(name = "tzType")
    public String getTzType() {
        return tzType;
    }

    public void setTzType(String tzType) {
        this.tzType = tzType;
    }

    @Basic
    @Column(name = "tzLastTime")
    public String getTzLastTime() {
        return tzLastTime;
    }

    public void setTzLastTime(String tzLastTime) {
        this.tzLastTime = tzLastTime;
    }

    @Basic
    @Column(name = "CompanyName")
    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Basic
    @Column(name = "ischecked")
    public String getIschecked() {
        return ischecked;
    }

    public void setIschecked(String ischecked) {
        this.ischecked = ischecked;
    }

    @Basic
    @Column(name = "tzContext")
    public String getTzContext() {
        return tzContext;
    }

    public void setTzContext(String tzContext) {
        this.tzContext = tzContext;
    }

    @Basic
    @Column(name = "isFinish")
    public String getIsFinish() {
        return isFinish;
    }

    public void setIsFinish(String isFinish) {
        this.isFinish = isFinish;
    }

    @Basic
    @Column(name = "tzdtName")
    public String getTzdtName() {
        return tzdtName;
    }

    public void setTzdtName(String tzdtName) {
        this.tzdtName = tzdtName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TaskWhyjtz that = (TaskWhyjtz) o;

        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        if (tzName != null ? !tzName.equals(that.tzName) : that.tzName != null) return false;
        if (tzModel != null ? !tzModel.equals(that.tzModel) : that.tzModel != null) return false;
        if (tzCj != null ? !tzCj.equals(that.tzCj) : that.tzCj != null) return false;
        if (tzCount != null ? !tzCount.equals(that.tzCount) : that.tzCount != null) return false;
        if (tzType != null ? !tzType.equals(that.tzType) : that.tzType != null) return false;
        if (tzLastTime != null ? !tzLastTime.equals(that.tzLastTime) : that.tzLastTime != null) return false;
        if (companyName != null ? !companyName.equals(that.companyName) : that.companyName != null) return false;
        if (ischecked != null ? !ischecked.equals(that.ischecked) : that.ischecked != null) return false;
        if (tzContext != null ? !tzContext.equals(that.tzContext) : that.tzContext != null) return false;
        if (isFinish != null ? !isFinish.equals(that.isFinish) : that.isFinish != null) return false;
        if (tzdtName != null ? !tzdtName.equals(that.tzdtName) : that.tzdtName != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (tzName != null ? tzName.hashCode() : 0);
        result = 31 * result + (tzModel != null ? tzModel.hashCode() : 0);
        result = 31 * result + (tzCj != null ? tzCj.hashCode() : 0);
        result = 31 * result + (tzCount != null ? tzCount.hashCode() : 0);
        result = 31 * result + (tzType != null ? tzType.hashCode() : 0);
        result = 31 * result + (tzLastTime != null ? tzLastTime.hashCode() : 0);
        result = 31 * result + (companyName != null ? companyName.hashCode() : 0);
        result = 31 * result + (ischecked != null ? ischecked.hashCode() : 0);
        result = 31 * result + (tzContext != null ? tzContext.hashCode() : 0);
        result = 31 * result + (isFinish != null ? isFinish.hashCode() : 0);
        result = 31 * result + (tzdtName != null ? tzdtName.hashCode() : 0);
        return result;
    }
}
